html, body {
	height: 100%;
}

body {
	background: #f8f8f8;
	font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Segoe UI", "Trebuchet MS", Helvetica, Arial, sans-serif;
	margin-top: 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #ddd;
	font-weight: 500;
}

h3, h4, h5, h6 {
	border-bottom: none;
	padding-bottom: 0;
}

blockquote {
	margin-left: 0;
	padding: 0 1em;
	color: #777;
	border-left: 0.25em solid #ddd;
}

pre, code {
	font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
	padding: 12px;
	overflow: auto;
	line-height: 1.45;
	background-color: #f7f7f7;
	border-radius: 3px;
}

code {
	padding: 4px 0;
}

hr {
	border: 0;
	height: 1px;
	background: #ddd;
}

table tr:nth-child(even) {
	background-color: #f8f8f8;
}

table th,
table td {
	padding: 6px 13px;
	border: 1px solid #ddd;
}

a {
	color: #325778;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.license-footer {
	color: #777;
	font-size: 13px;
	text-align: center;
	display: block;
}

.toc {
	background: #fbfbfb;
	border: 1px solid #ddd;
	display: table;
	padding: 10px 15px;
	margin: 1em 0;
}

.toc .title {
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
}

.toc .list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.toc-level2 {
	display: none;
	padding-left: 40px;
}

.toc-level3 {
	display: none;
	padding-left: 80px;
}

.toc .number {
	margin-right: 10px;
}

#sidebar {
	float: left;
	width: 200px;
}

.logo {
	background: #fff;
	width: 100%;
	height: 175px;
	border-bottom: 1px solid #ddd;
	margin-bottom: 20px;
}

.logo a {
	background: url('/wiki/images/logo.png') no-repeat center center;
	display: block;
	width: 100%;
	height: 175px;
	text-indent: -9999px;
}

.main-menu ul,
.main-menu ul li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-menu > ul {
	margin-left: 20px;
}

.main-menu ul li {
	padding: 5px 0;
	font-size: 14px;
}

.main-menu ul li:first-child {
	padding-top: 0;
}

.main-menu ul li ul li:first-child {
	font-weight: bold;
	border-bottom: 1px solid #e7e7e7;
}

.main-menu ul li { text-indent: 20px; }
.main-menu ul li ul li { text-indent: 40px; }
.main-menu ul li ul li:first-child { text-indent: 20px; }
.main-menu ul li ul li ul li { text-indent: 60px; }
.main-menu ul li ul li ul li:first-child { text-indent: 40px; }

#content-wrapper {
	margin-left: 200px;
	margin-bottom: 50px;
	background: #fff;
	border: 1px solid #ddd;
	border-width: 0 0 1px 1px;
	box-shadow: 0 0 20px #ddd;
	position: relative;
	z-index: 999;
	min-height: 500px;
}

#content {
	padding: 20px 30px;
}

#content p:last-child {
	margin-bottom: 0;
}
	
#mobile-bar {
	display: none;
	background: #f8f8f8;
	padding: 10px;
}
	
#mobile-bar .fa-bars {
	font-size: 30px;
}

@media only screen and ( max-width: 700px ) {
    #sidebar {
        display: none;
		position: fixed;
		z-index: 1000;
		top: 0;
		left: 0;
		overflow: auto;
		background: #fff;
    }
	
    #content-wrapper {
        margin-left: 0;
    }
	
	#mobile-bar {
		display: block;
	}
}
